<?php 
if (site_name){
	$rootDir= "/" . site_name;
} else {
	$rootDir="";
}

$index_page = $rootDir . "/index.php";


//define page names
define('page_home','home',true);
define('page_signin','signin',true);
define('page_signinsuccess','signinsuccess',true);
define('page_signup','signup',true);
define('page_signupsuccess','signupsuccess',true);
define('page_profile','profile',true);
define('page_editprofile','editprofile',true);
define('page_changepassword','changepassword',true);
define('page_gamerooms','gamerooms',true);
define('page_creategame','creategame',true);
define('page_game','game',true);
define('page_howto','howto',true);
define('page_leaderboard','leaderboard',true);
define('page_ajax','ajax',true);



//page links
$page_prefix = $index_page . "?page=";
	$page_home = $page_prefix . page_home;
	$page_signin = $page_prefix . page_signin;
	$page_signup = $page_prefix . page_signup;
	$page_signinsuccess = $page_prefix . page_signinsuccess;
	$page_editprofile = $page_prefix . page_editprofile;
	$page_profile = $page_prefix . page_profile;
	$page_changepassword = $page_prefix . page_changepassword;
	$game_joinrooms = $page_prefix . page_gamerooms;
	$page_howto = $page_prefix . page_howto;
	$page_creategame = $page_prefix . page_creategame;
	$page_leaderboard = $page_prefix . page_leaderboard;
//#end of link variables ====================================
	
//messages to return the status of form submissions
$submit_msg='';
$submit_fail_msg='';

$difficulty=array(
		"1"=>"Supereasy",
		"2"=>"Easy",
		"3"=>"Medium",
		"4"=>"Hard",
		"5"=>"Insane");

?>